package mt.demo.service.security;

import org.springframework.security.core.GrantedAuthority;

/**
 * Created by 田西泽 on 2015-8-26.
 */
public class WatAuthority implements GrantedAuthority {
    private String authority;

    public WatAuthority(String authority) {
        this.authority = authority;
    }

    public WatAuthority() {
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return authority;
    }
}
